package com.txby.platformCore.entity;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;



import lombok.Data;


/**
 * 题目表
 * @author lijie
 *
 */
@Data
@Entity
@Table(name = "t_txby_bd_sysCusTopic")
public class SysCusTopic  extends SysBaseEntity {
	@NotNull(message="类型未选择")
	private Integer type;//单选1、多选2、简答3
	@NotBlank(message="题干不能为空")
	private String topic;//题干
	@NotNull(message="试卷未选择")
	private Integer paperId;//试卷ID
	@NotNull(message="所属组织不能为空")
	private Integer deptId;//所属组织
	private Integer isdefault;//是否默认
}
